#ifndef BAR_H
#define BAR_H

#include <QWidget>
#include <QtCharts>
QT_CHARTS_USE_NAMESPACE

namespace Ui {
class Bar;
}

class Bar : public QWidget
{
    Q_OBJECT

public:
    explicit Bar(QWidget *parent = nullptr);
    ~Bar();

signals:
    void back();

private slots:
    void on_create_clicked();//创造图表

    void on_addkinds_clicked();//种类

    void on_add_clicked();//条数

    void on_delete_2_clicked();

    void on_deletekinds_clicked();

    void on_clear_clicked();

    void on_pushButton_clicked();

private:
    Ui::Bar *ui;
};

#endif // BAR_H
